package top.wangjiu.service.interfaces;

import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.util.concurrent.CompletableFuture;

public interface OneService {

    String sayHello();

    CompletableFuture<Integer> getSum(Integer one, Integer two);

    Flux<Integer> getList(Integer start,Integer end);

    Mono<String> sayByeBye(String name);

}
